package com.bsoft.service.impl;

import com.bsoft.mapper.business.CcisMapper;
import com.bsoft.mapper.business.SurgicalPrivilegesMapper;
import com.bsoft.service.CcisService;
import com.bsoft.service.SurgicalPrivilegesService;
import com.bsoft.utils.ConmonUtil;
import com.bsoft.utils.XmlMapUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import javax.annotation.Resource;
import javax.lang.model.element.NestingKind;
import java.util.Base64;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
@EnableTransactionManagement
public class SurgicalPrivilegesServiceImpl extends ConmonUtil implements SurgicalPrivilegesService {
    private static Logger logger = LoggerFactory.getLogger(SurgicalPrivilegesServiceImpl.class);

    @Resource
    private SurgicalPrivilegesMapper surgicalPrivilegesMapper;


    @Override
    public String aaa(String brid) {

        // 判断
        Map<String,Object>  brxxMap = surgicalPrivilegesMapper.getBrxx(brid);
        String string = brxxMap.get("BRXM").toString();

        return getSuccess(brxxMap);
    }

    @Override
    public String getBBB(Map<String, Object> req) {
        return null;
    }

    @Override
    public String queryCCC(Map<String, Object> req) {
        return null;
    }
}
